const getters = {
    token: state => state.user.token, // 向外界提供快捷的访问方式
    userId: state => state.user.userInfo.userId,
    routes: state => state.permission.routes,
}

export default getters;